package cn.thornbird.orgsync.vo.record;

import cn.thornbird.orgsync.entity.CertificateDetail;
import cn.thornbird.orgsync.entity.status.AppType;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CertificateDetailRecord extends Record<CertificateDetail> {

    private String certificateId;

    @NotNull(message = "App类型不能为空")
    private AppType appType;

    @NotBlank(message = "数据不能为空")
    private String data;

}
